{include file="header.html"}
<div class="title tc ml-10 mr-10">
    <h2>订单详情</h2>
</div>
<style>
    .tr {
        text-align: left;
        font-weight: 600;
    }
    .content .li{
        border: none;
        margin: 5px 0px 5px 5px ;
        width: 100%;

    }
    .content .li2{
        border: none;
        margin: 5px 0px 5px 10px ;
        width: 100%;
    }
    .content .li3{
        border: none;
        margin: 5px 0px 5px 0px ;
        padding-left: 10px;
        font-size: 13px;
    }
    @media screen and (max-width: 1000px) {
        .div { border-left: 1px solid #ccc;margin: 10px 0px 10px 18px;width: 85%;}
    }
    @media screen and (max-width: 320px) {
        .div { border-left: 1px solid #ccc;margin: 10px 0px 10px 18px;width: 90%;}
    }

</style>

<div class="content ml-10 mr-10" style="border-bottom: 1px solid #bababa">
    <table class="my-10">
        <tbody>
        <tr>
            <td class="tr"><b>合同号:</b></td>
            <td class="">{$info.agreement_no}</td>
        </tr>
        <tr>
            <td class="tr"><b>销售经理:</b></td>
            <td class="">{$info.sales_name}</td>
        </tr>
        <tr>
            <td class="tr"><b>购货单位:</b></td>
            <td class="" colspan="3">{$info.sales_customer}</td>
        </tr>
        <!--
        <tr>
            <td class="tr"><b>合同回传时间:</b></td>
            <td class="">{$info.agreement_sign_date}</td>
        </tr>
        <tr>
            <td class="tr"><b>到款时间:</b></td>
            <td class="">{$info.agreement_date}</td>
        </tr>
        <tr>
            <td class="tr"><b>计划到货时间:</b></td>
            <td class="">{$info.arrive_date}</td>
        </tr>-->
        </tbody>
    </table>
</div>
<div class="content ml-10 mr-10 mt-10"  style='margin-bottom: 50px'>
    {foreach item=order from=$list}
    <ul class=" f-l" >
        <li class="li f-l" ><b>产品名称：{$order.produce_name}</b></li>
        {foreach item=clid from=$order.list key=Mname}
            <li class="li2 f-l"><b>材质：{$Mname}</b></li>
            {foreach item=clid2 from=$clid}
            <div class = 'div f-l'>
                <li class="li3 f-l"><b>规格：{$clid2.format}</b></li>
                <li class="li3 f-r">合同重量(吨)：{$clid2.agreement_weight}</li>
                <li class="li3 f-l">下单重量(吨)：{$clid2.order_weight}</li>
                <li class="li3 f-r">未下单重量(吨)：{$clid2.unorder_weight}</li>
                <li class="li3 f-l">出厂重量(吨)：{$clid2.factory_weight}</li>
                <li class="li3 f-r">运输方式：{$clid2.transport}</li>
                <li class="li3 f-l">送货地址：{$clid2.produce_address}</li>

                <li class="li3 f-l">合同回传时间：{$clid2.agreement_sign_date}</li>
                <li class="li3 f-l">到款时间：{$clid2.agreement_date}</li>
                <li class="li3 f-l">计划到货时间：{$clid2.arrive_date}</li>
                <li class="li3 f-l">排产时间：{$clid2.schedul_date}</li>


            </div>
            {/foreach}
        {/foreach}
    </ul>
    {/foreach}
    <div class="clr-last"></div>

    <p style="text-align: center; padding-bottom: 20px;">目前仅支持查看最近30条订单记录</p>
</div>
{include file="footer.html"}